import java.awt.Image;
import javax.swing.ImageIcon;

public class Obstacle extends Component {
	
	public Obstacle(){
		image = new ImageIcon("picture/obstacle.png").getImage();
	}
     public Image getImage() {
		return image;
	}
}